package com.th.supcom.pds.sortingdrug.client.model;

import java.util.Date;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * PdsPresc UI模型.
 * 
 * 处方主记录.
 */
public class PdsPrescModel extends BaseModelData implements java.io.Serializable
{
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    /**
     * add by Zli
     */
    private static final long serialVersionUID = -5297877370337626560L;

    /**
     * 默认构造器 .
     */
    public PdsPrescModel ()
    {
    }

    /**
     * 获取计价标志
     * 
     * @return
     */
    public Integer getChargeIndicator ()
    {
        return get ("chargeIndicator");
    }

    /**
     * 设置计价标志名称
     */
    public String getChargeIndicatorName ()
    {
        return get ("chargeIndicatorName");
    }

    /**
     * 获取审核时间CHECK_DATETIME .
     * 
     * @return the checkDatetime
     */
    public Date getCheckDatetime ()
    {
        return get ("checkDatetime");
    }

    /**
     * 获取核药人.
     * 
     * @return the checkPharmacist
     */
    public String getCheckPharmacist ()
    {
        return get ("checkPharmacist");
    }

    /**
     * 获取管制类别:0=一般处方1=早孕处方2=精神类处方3=麻醉药处方4=毒麻处方.
     * 
     * @return the controlType
     */
    public Integer getControlType ()
    {
        return get ("controlType");
    }

    /**
     * 获取管制类别:0=一般处方1=早孕处方2=精神类处方3=麻醉药处方4=毒麻处方.
     * 
     * @return the controlTypeName
     */
    public String getControlTypeName ()
    {
        return get ("controlTypeName");
    }

    /**
     * 获取退药原因.
     * 
     * @return the drugRepercussionMemo
     */
    public String getDrugRepercussionMemo ()
    {
        return get ("drugRepercussionMemo");
    }

    /**
     * 获取退药人ID.
     * 
     * @return the drugReturn
     */
    public String getDrugReturn ()
    {
        return get ("drugReturn");
    }

    /**
     * 获取退药时间.
     * 
     * @return the drugReturnTime
     */
    public Date getDrugReturnTime ()
    {
        return get ("drugReturnTime");
    }

    /**
     * 获取录方时间.
     * 
     * @return the enterTime
     */
    public Date getEnterTime ()
    {
        return get ("enterTime");
    }

    /**
     * 获取是否打印0-未打印1-打印摆药单2-打印消费凭证3-全打.
     * 
     * @return the isprint
     */
    public Integer getIsprint ()
    {
        return get ("isprint");
    }

    /**
     * 获取审核备注.
     * 
     * @return the memo
     */
    public String getMemo ()
    {
        return get ("memo");
    }

    /**
     * 获取使用代码，由用户定义，见DEPT_DICT科室字典,NULL.
     * 
     * @return the orderedBy
     */
    public String getOrderByDeptName ()
    {
        return get ("orderByDeptName");
    }

    /**
     * 获取使用代码，由用户定义，见DEPT_DICT科室字典,NULL.
     * 
     * @return the orderedBy
     */
    public String getOrderedBy ()
    {
        return get ("orderedBy");
    }

    /**
     * 获取患者就诊流水号.
     * 
     * @return the OutpVisitId
     */
    public Long getOutpVisitId ()
    {
        return get ("outpVisitId");
    }

    /**
     * 获取批次号
     * 
     * @return the phamBatchNumber
     */
    public String getPhamBatchNumber ()
    {
        return get ("phamBatchNumber");
    }


    /**
     * 获取处方窗口号.
     * 
     * @return the outpDispensaryWin
     */
    public Long getPoutpDispensaryWin ()
    {
        return get ("poutpDispensaryWin");
    }

    /**
     * 获取处方执行科室.
     * 
     * @return the orgIdExec
     */
    public String getOrgIdExec ()
    {
        return get ("orgIdExec");
    }

    /**
     * 获取每张处方由处方号唯一标识，流水号，非空.
     * 
     * @return the prescNo
     */
    public String getPrescNo ()
    {
        return get ("prescNo");
    }

    /**
     * 获取开方医生编码.
     * 
     * @return the prescriber
     */
    public String getPrescriber ()
    {
        return get ("prescriber");
    }

    /**
     * 获取.
     * 
     * @return the prescriptionTime
     */
    public Date getPrescriptionTime ()
    {
        return get ("prescriptionTime");
    }

    /**
     * 获取标识处方是从门诊而来或是从住院而来。0-门诊 1-住院 2-出院带药，3-急诊，4-平诊,5-门诊退药，6-住院退药.
     * 
     * @return the prescSource
     */
    public Integer getPrescSource ()
    {
        return get ("prescSource");
    }

    /**
     * 处方来源名称。0-门诊 1-住院 2-出院带药，3-急诊，4-平诊,5-门诊退药，6-住院退药.
     * 
     * @return the prescSourceName
     */
    public String getPrescSourceName ()
    {
        return get ("prescSourceName");
    }

    /**
     * 获取处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向.
     * 
     * @return the prescSupplyDrugState
     */
    public Integer getPrescSupplyDrugState ()
    {
        return get ("prescSupplyDrugState");
    }

    /**
     * 获取处方供药状态 处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向
     * 
     * @return
     */
    public String getPrescSupplyDrugStateName ()
    {
        return get ("prescSupplyDrugStateName");
    }

    /**
     * 获取处方类别:0=西药 1=中草药 2=中成药,3=免煎药处方.
     * 
     * @return the prescType
     */
    public String getPrescType ()
    {
        return get ("prescType");
    }

    /**
     * 获取处方类别名称:0=西药 1=中草药 2=中成药,3=免煎药处方.
     * 
     * @return the prescTypeName
     */
    public String getPrescTypeName ()
    {
        return get ("prescTypeName");
    }

    /**
     * 获取打印次数.
     * 
     * @return the printNum
     */
    public Integer getPrintNum ()
    {
        return get ("printNum");
    }

    /**
     * 获取打印类别0=工作台打印，1=支助中心打印.
     * 
     * @return the printType
     */
    public Integer getPrintType ()
    {
        return get ("printType");
    }

    /**
     * 获取处方合格标志0-不合格 1-合格.
     * 
     * @return the qualifiedType
     */
    public String getQualifiedType ()
    {
        return get ("qualifiedType");
    }

    /**
     * 获取处方合格标志0-不合格 1-合格名称.
     * 
     * @return the qualifiedType
     */
    public String getQualifiedTypeName ()
    {
        return get ("qualifiedTypeName");
    }

    /**
     * 获取收据号.
     * 
     * @return the rcptNo
     */
    public String getRcptNo ()
    {
        return get ("rcptNo");
    }

    /**
     * 获取退费申请操作人ID.
     * 
     * @return the refundAppl
     */
    public String getRefundAppl ()
    {
        return get ("refundAppl");
    }

    /**
     * 获取退费申请时间.
     * 
     * @return the refundApplTime
     */
    public Date getRefundApplTime ()
    {
        return get ("refundApplTime");
    }

    /**
     * 获取缺省为1，中药处方时可大于1.
     * 
     * @return the repetition
     */
    public Integer getRepetition ()
    {
        return get ("repetition");
    }

    /**
     * 获取处方总金额
     * 
     * @return
     */
    public Double getTotalPrice ()
    {
        return get ("totalPrice");
    }

    /**
     * 获取退药状态0未退1-已退.
     * 
     * @return the withdrawalDrugState
     */
    public Integer getWithdrawalDrugState ()
    {
        return get ("withdrawalDrugState");
    }

    /**
     * 设置计价标志
     */
    public void setChargeIndicator (final Integer chargeIndicator)
    {
        set ("chargeIndicator", chargeIndicator);
    }

    /**
     * 设置计价标志名称
     */
    public void setChargeIndicatorName (final String chargeIndicatorName)
    {
        set ("chargeIndicatorName", chargeIndicatorName);
    }

    /**
     * 设置审核时间CHECK_DATETIME .
     * 
     * @param checkDatetime the checkDatetime to set.
     */
    public void setCheckDatetime (final Date checkDatetime)
    {
        set ("checkDatetime", checkDatetime);
    }

    /**
     * 设置核药人.
     * 
     * @param checkPharmacist the checkPharmacist to set.
     */
    public void setCheckPharmacist (final String checkPharmacist)
    {
        set ("checkPharmacist", checkPharmacist);
    }

    /**
     * 设置管制类别:0=一般处方1=早孕处方2=精神类处方3=麻醉药处方4=毒麻处方.
     * 
     * @param controlType the controlType to set.
     */
    public void setControlType (final Integer controlType)
    {
        set ("controlType", controlType);
    }

    /**
     * 设置管制类别:0=一般处方1=早孕处方2=精神类处方3=麻醉药处方4=毒麻处方.
     * 
     * @param controlTypeName the controlTypeName to set.
     */
    public void setControlTypeName (final String controlTypeName)
    {
        set ("controlTypeName", controlTypeName);
    }

    /**
     * 设置退药原因.
     * 
     * @param drugRepercussionMemo the drugRepercussionMemo to set.
     */
    public void setDrugRepercussionMemo (final String drugRepercussionMemo)
    {
        set ("drugRepercussionMemo", drugRepercussionMemo);
    }

    /**
     * 设置退药人ID.
     * 
     * @param drugReturn the drugReturn to set.
     */
    public void setDrugReturn (final String drugReturn)
    {
        set ("drugReturn", drugReturn);
    }

    /**
     * 设置退药时间.
     * 
     * @param drugReturnTime the drugReturnTime to set.
     */
    public void setDrugReturnTime (final Date drugReturnTime)
    {
        set ("drugReturnTime", drugReturnTime);
    }

    /**
     * 设置录方时间.
     * 
     * @param enterTime the enterTime to set.
     */
    public void setEnterTime (final Date enterTime)
    {
        set ("enterTime", enterTime);
    }

    /**
     * 设置是否打印0-未打印1-打印摆药单2-打印消费凭证3-全打.
     * 
     * @param isprint the isprint to set.
     */
    public void setIsprint (final Integer isprint)
    {
        set ("isprint", isprint);
    }

    /**
     * 设置审核备注.
     * 
     * @param memo the memo to set.
     */
    public void setMemo (final String memo)
    {
        set ("memo", memo);
    }

    /**
     * 设置使用代码，由用户定义，见DEPT_DICT科室字典,NULL.
     * 
     * @param orderedBy the orderedBy to set.
     */
    public void setOrderByDeptName (final String orderByDeptName)
    {
        set ("orderByDeptName", orderByDeptName);
    }

    /**
     * 设置使用代码，由用户定义，见DEPT_DICT科室字典,NULL.
     * 
     * @param orderedBy the orderedBy to set.
     */
    public void setOrderedBy (final String orderedBy)
    {
        set ("orderedBy", orderedBy);
    }

    /**
     * 设置患者就诊流水号.
     * 
     * @param set the outpVisitId to set.
     */
    public void setOutpVisitId (final Long outpVisitId)
    {
        set ("outpVisitId", outpVisitId);
    }

    /**
     * 设置批次号
     * 
     * @param phamBatchNumber the phamBatchNumber to set.
     */
    public void setPhamBatchNumber (final String phamBatchNumber)
    {
        set ("phamBatchNumber", phamBatchNumber);
    }

    /**
     * 设置处方窗口号.
     * 
     * @param outpDispensaryWin the outpDispensaryWin to set.
     */
    public void setPoutpDispensaryWin (final Long poutpDispensaryWin)
    {
        set ("poutpDispensaryWin", poutpDispensaryWin);
    }

    /**
     * 设置处方执行科室.
     * 
     * @param orgIdExec the orgIdExec to set.
     */
    public void setOrgIdExec (final String orgIdExec)
    {
        set ("orgIdExec", orgIdExec);
    }

    /**
     * 设置每张处方由处方号唯一标识，流水号，非空.
     * 
     * @param prescNo the prescNo to set.
     */
    public void setPrescNo (final String prescNo)
    {
        set ("prescNo", prescNo);
    }

    /**
     * 设置开方医生编码.
     * 
     * @param prescriber the prescriber to set.
     */
    public void setPrescriber (final String prescriber)
    {
        set ("prescriber", prescriber);
    }

    /**
     * 设置.
     * 
     * @param prescriptionTime the prescriptionTime to set.
     */
    public void setPrescriptionTime (final Date prescriptionTime)
    {
        set ("prescriptionTime", prescriptionTime);
    }

    /**
     * 设置标识处方是从门诊而来或是从住院而来。0-门诊 1-住院 2-出院带药，3-急诊，4-平诊,5-门诊退药，6-住院退药.
     * 
     * @param prescSource the prescSource to set.
     */
    public void setPrescSource (final Integer prescSource)
    {
        set ("prescSource", prescSource);
    }

    /**
     * 处方来源名称。0-门诊 1-住院 2-出院带药，3-急诊，4-平诊,5-门诊退药，6-住院退药.
     * 
     * @param prescSourceName the prescSourceName to set.
     */
    public void setPrescSourceName (final String prescSourceName)
    {
        set ("prescSourceName", prescSourceName);
    }

    /**
     * 设置处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向.
     * 
     * @param prescSupplyDrugState the prescSupplyDrugState to set.
     */
    public void setPrescSupplyDrugState (final Integer prescSupplyDrugState)
    {
        set ("prescSupplyDrugState", prescSupplyDrugState);
    }

    /**
     * 设置处方供药状态 处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向
     */
    public void setPrescSupplyDrugStateName (final String prescSupplyDrugStateName)
    {
        set ("prescSupplyDrugStateName", prescSupplyDrugStateName);
    }

    /**
     * 设置处方类别:0=西药 1=中草药 2=中成药,3=免煎药处方.
     * 
     * @param prescType the prescType to set.
     */
    public void setPrescType (final String prescType)
    {
        set ("prescType", prescType);
    }

    /**
     * 设置处方类别:0=西药 1=中草药 2=中成药,3=免煎药处方.
     * 
     * @param prescTypeName the prescTypeName to set.
     */
    public void setprescTypeName (final String prescTypeName)
    {
        set ("prescTypeName", prescTypeName);
    }

    /**
     * 设置打印次数.
     * 
     * @param printNum the printNum to set.
     */
    public void setPrintNum (final Integer printNum)
    {
        set ("printNum", printNum);
    }

    /**
     * 设置打印类别0=工作台打印，1=支助中心打印.
     * 
     * @param printType the printType to set.
     */
    public void setPrintType (final Integer printType)
    {
        set ("printType", printType);
    }

    /**
     * 设置处方合格标志0-不合格 1-合格.
     * 
     * @param qualifiedIndicator the qualifiedIndicator to set.
     */
    public void setQualifiedType (final String qualifiedType)
    {
        set ("qualifiedType", qualifiedType);
    }

    /**
     * 设置处方合格标志0-不合格 1-合格名称.
     * 
     * @param qualifiedIndicator the qualifiedIndicator to set.
     */
    public void setQualifiedTypeName (final String qualifiedTypeName)
    {
        set ("qualifiedTypeName", qualifiedTypeName);
    }

    /**
     * 设置收据号.
     * 
     * @param rcptNo the rcptNo to set.
     */
    public void setRcptNo (final String rcptNo)
    {
        set ("rcptNo", rcptNo);
    }

    /**
     * 设置退费申请操作人ID.
     * 
     * @param refundAppl the refundAppl to set.
     */
    public void setRefundAppl (final String refundAppl)
    {
        set ("refundAppl", refundAppl);
    }

    /**
     * 设置退费申请时间.
     * 
     * @param refundApplTime the refundApplTime to set.
     */
    public void setRefundApplTime (final Date refundApplTime)
    {
        set ("refundApplTime", refundApplTime);
    }

    /**
     * 设置缺省为1，中药处方时可大于1.
     * 
     * @param repetition the repetition to set.
     */
    public void setRepetition (final Integer repetition)
    {
        set ("repetition", repetition);
    }

    /**
     * 设置处方总金额
     */
    public void setTotalPrice (final Double totalPrice)
    {
        set ("totalPrice", totalPrice);
    }

    /**
     * 设置退药状态0未退1-已退.
     * 
     * @param withdrawalDrugState the withdrawalDrugState to set.
     */
    public void setWithdrawalDrugState (final Integer withdrawalDrugState)
    {
        set ("withdrawalDrugState", withdrawalDrugState);
    }

    /**
     * 设置patientId
     * 
     * @param patientId add by Zli
     */
    public void setPatientId (String patientId)
    {
        set ("patientId", patientId);
    }

    /**
     * 得到PatientId
     * 
     * @return add by Zli
     */
    public String getPatientId ()
    {
        return get ("patientId");
    }
    /**
     * 设置患者性别
     * 
     * @param patientId add by Zli
     */
    public void setPatiSex (String patiSex)
    {
        set ("patiSex", patiSex);
    }
    
    /**
     * 得到患者性别
     * 
     * @return add by Zli
     */
    public String getPatiSex ()
    {
        return get ("patiSex");
    }
    public void setOrderName (String orderName)
    {

        set ("orderName", orderName);
    }

    public String getOrderName ()
    {

        return get ("orderName");

    }

    public void setPxAmount (Integer pxAmount)
    {
        set ("pxAmount", pxAmount);

    }

    public Integer getPxAmount ()
    {
        return get ("pxAmount");

    }

    public void setPxDaily (Integer pxDaily)
    {
        set ("pxDaily", pxDaily);

    }

    public Integer getPxDaily ()
    {
        return get ("pxDaily");

    }

    public void setCreateDate (Date createDate)
    {
        set ("createDate",createDate);
        
    }
    public Date getCreateDate ()
    {
        return get("createDate");
         
    }
    public void setIsInvalid  (String isInvalid )
    {
        set ("isInvalid",isInvalid);
        
    }
    public String getIsInvalid ()
    {
        
        return get("isInvalid");
         
    }

    public void setSendOrReturnFlag (String sendOrReturnFlag)
    {
        set ("sendOrReturnFlag",sendOrReturnFlag);;
        
    }
    public String getSendOrReturnFlag ()
    {
        return get("sendOrReturnFlag");
         
    }
    public void setPrescClassfication (Integer prescClassfication)
    {
        
        set ("prescClassfication", prescClassfication);
        
    }
    public Integer getPrescClassfication ()
    {
        
        return get("prescClassfication");
         
    }
    public void setDosageForm (String dosageForm)
    {
        
        set ("dosageForm",dosageForm);
        
    }
    public String getDosageForm ()
    {
        
        return get("dosageForm");
         
    }
    public void setDosageFormAmount (Double  dosageFormAmount)
    {
        set("dosageFormAmount",dosageFormAmount);
        
    }
    public Double getDosageFormAmount ()
    {
        return get("dosageFormAmount");
         
    }
    public void setBoilFlag (String boilFlag)
    {
         set("boilFlag",boilFlag);
        
    }
    public String getBoilFlag ()
    {
        return get("boilFlag");
         
    }
    
    public void getFreqCode (String freqCode )
    {
        set("freqCode",freqCode);
        
    }
    public String getFreqCode ()
    {
        return get("freqCode");
    }
    
    public void setFreqTimeQty (String freqTimeQty)
    {
        set("freqTimeQty",freqTimeQty);
        
    }
    public String getFreqTimeQty ()
    {
        return get("freqTimeQty");
    }
    public void getFreqName (String freqName)
    {
        set("freqName",freqName);
    }
    public String getFreqName ()
    {
        return get("freqName");
    }
    public void setFreqMemo (String freqMemo)
    {
        set ("freqMemo",freqMemo);
        
    }
    public String getFreqMemo ()
    {
        return get("freqMemo");
         
    }
    public void getEmpIdBegDoct (String empIdBegDoct)
    {
       set("empIdBegDoct",empIdBegDoct);
    }
    public String getEmpIdBegDoct ()
    {
        return get("empIdBegDoct");
    }
    public void setEmpNameBegDoct (String empNameBegDoct)
    {
        set("empNameBegDoct",empNameBegDoct);
        
    }
    public String getEmpNameBegDoct ()
    {
        return get("empNameBegDoct");
         
    }

    public void getOrgIdHospital (String orgIdHospital)
    {
        set("orgIdHospital",orgIdHospital);
        
    }
    public String getOrgIdHospital ()
    {
        return get("orgIdHospital");
         
    }

    public void setVisitId (Long visitId)
    {
        set("visitId",visitId);
        
    }
    public Long getVisitId ()
    {
        return get("visitId");
         
    }
    public void setPrescId (Long prescId)
    {
        set("prescId",prescId);
        
    }
    public Long getPrescId ()
    {
        return get("prescId");
        
    }
    public void setPatiName(String patiName) {
		set("patiName", patiName);
	}

	public String getPatiName() {
		return get("patiName");
	}
}
